package com.shanjupay.merchant.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * <p> </p>
 *
 * @author <a href=mailto:zhaoboying@itcast.cn> byZhao </a>
 * @version 1.0.0
 * @motto Talk is cheap, show me the code!
 * @since 2022-04-29 01:50:40
 */
@Configuration
@ConditionalOnProperty(prefix="swagger",value={"enable"},havingValue="true")
@EnableSwagger2
public class SwaggerConfiguration {
}
